[INFO] cloning repository https://github.com/nathanbacon/macboy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nathanbacon/macboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanbacon%2Fmacboy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanbacon%2Fmacboy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c0eed9b13758e1fbf12929339cc8f575046293c
[INFO] checking nathanbacon/macboy against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanbacon%2Fmacboy" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nathanbacon/macboy
[INFO] finished tweaking git repo https://github.com/nathanbacon/macboy
[INFO] tweaked toml for git repo https://github.com/nathanbacon/macboy written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nathanbacon/macboy on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nathanbacon/macboy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe8d03fa536249ba39bc86b4c1aa147b35d8ac5a543ccbe4856adec76b2122b5
[INFO] running `Command { std: "docker" "start" "-a" "fe8d03fa536249ba39bc86b4c1aa147b35d8ac5a543ccbe4856adec76b2122b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe8d03fa536249ba39bc86b4c1aa147b35d8ac5a543ccbe4856adec76b2122b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe8d03fa536249ba39bc86b4c1aa147b35d8ac5a543ccbe4856adec76b2122b5", kill_on_drop: false }`
[INFO] [stdout] fe8d03fa536249ba39bc86b4c1aa147b35d8ac5a543ccbe4856adec76b2122b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9fd893012bbc342c2c847d8be45e250e5c3ec43396250c29ea845d312e6280a
[INFO] running `Command { std: "docker" "start" "-a" "c9fd893012bbc342c2c847d8be45e250e5c3ec43396250c29ea845d312e6280a", kill_on_drop: false }`
[INFO] [stderr]     Checking gb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ExtendedOpcode` and `Opcode`
[INFO] [stdout]   --> src/cpu_comprehensive_tests.rs:6:15
[INFO] [stdout]    |
[INFO] [stdout] 6  |     opcodes::{ExtendedOpcode, Opcode},
[INFO] [stdout]    |               ^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | mod cpu_comprehensive_tests;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `test_register_variants`
[INFO] [stdout]   --> src/cpu_comprehensive_tests.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | macro_rules! test_register_variants {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `wide`
[INFO] [stdout]   --> src/registers.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | macro_rules! wide {
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `test_register_variants`
[INFO] [stdout]   --> src/cpu_comprehensive_tests.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | macro_rules! test_register_variants {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `wide`
[INFO] [stdout]   --> src/registers.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | macro_rules! wide {
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interrupt`
[INFO] [stdout]   --> src/cpu.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn request_interrupt(&self, interrupt: Interrupt) {
[INFO] [stdout]    |                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupt`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu.rs:1632:28
[INFO] [stdout]      |
[INFO] [stdout] 1632 |                 fn eval<T>(cpu: &mut CPU<T>)
[INFO] [stdout]      |                            ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] ...
[INFO] [stdout] 2137 |             I!(STOP),
[INFO] [stdout]      |             -------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this warning originates in the macro `I` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu.rs:1818:28
[INFO] [stdout]      |
[INFO] [stdout] 1818 |                 fn eval<T>(cpu: &mut CPU<T>)
[INFO] [stdout]      |                            ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] ...
[INFO] [stdout] 2245 |             I!(HALT),
[INFO] [stdout]      |             -------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this warning originates in the macro `I` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/mmu.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut sprites: Box<[Sprite; 40]> = Box::new([(); 40].map(|_| Sprite::new()));
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/opcodes.rs:833:13
[INFO] [stdout]     |
[INFO] [stdout] 833 |             _ => Opcode::Invalid, // Catch any other invalid opcodes
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/opcodes.rs:833:13
[INFO] [stdout]     |
[INFO] [stdout] 577 |             0x00 => Opcode::Nop,
[INFO] [stdout]     |             ---- matches some of the same values
[INFO] [stdout] 578 |             0x01 => Opcode::LdBCNN,
[INFO] [stdout]     |             ---- matches some of the same values
[INFO] [stdout] 579 |             0x02 => Opcode::LdBCPtrA,
[INFO] [stdout]     |             ---- matches some of the same values
[INFO] [stdout] 580 |             0x03 => Opcode::IncBC,
[INFO] [stdout]     |             ---- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 833 |             _ => Opcode::Invalid, // Catch any other invalid opcodes
[INFO] [stdout]     |             ^ ...and 252 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer_offset`
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut buffer_offset = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let cpu = CPU::new(&mut mmu);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/main.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let (tx, rx) = mpsc::channel::<UIState>();
[INFO] [stdout]    |          ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rx`
[INFO] [stdout]   --> src/main.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let (tx, rx) = mpsc::channel::<UIState>();
[INFO] [stdout]    |              ^^ help: if this is intentional, prefix it with an underscore: `_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut buffer_offset = 0;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Catridge` is never constructed
[INFO] [stdout]  --> src/cartridge.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Catridge<T: MBC> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/cartridge.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl<T: MBC> Catridge<T> {
[INFO] [stdout]   | ------------------------ associated function in this implementation
[INFO] [stdout] 6 |     pub fn new(mbc: T) -> Catridge<T> {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MBC0` is never constructed
[INFO] [stdout]   --> src/cartridge.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct MBC0 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MBC1` is never constructed
[INFO] [stdout]   --> src/cartridge.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct MBC1 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Interrupt` is never used
[INFO] [stdout]  --> src/cpu.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum Interrupt {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `table`, `extended_table`, and `interrupts` are never read
[INFO] [stdout]   --> src/cpu.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct CPU<'a, T>
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     table: Vec<fn(&mut CPU<T>)>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 23 |     extended_table: Vec<fn(&mut CPU<T>)>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     interrupts: Interrupts,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]     --> src/cpu.rs:59:12
[INFO] [stdout]      |
[INFO] [stdout] 41   | impl<'a, T: MBC> CPU<'a, T> {
[INFO] [stdout]      | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59   |     pub fn exec_next_instruction(&mut self) -> u64 {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67   |     pub fn request_interrupt(&self, interrupt: Interrupt) {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80   |     fn push_pc(&mut self) {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2394 |     pub fn call(&mut self, opcode: u8) {
[INFO] [stdout]      |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2409 |     pub fn execute(&mut self, opcode: Opcode) {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2414 |     pub fn execute_extended(&mut self, opcode: ExtendedOpcode) {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2420 |     pub fn get_instruction_mnemonic(&self, opcode: u8) -> &'static str {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2429 |     pub fn get_instruction_timing(&self, opcode: u8) -> u8 {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_cpu` is never used
[INFO] [stdout]   --> src/cpu_comprehensive_tests.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn setup_cpu() -> CPU<'static, MBC3> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_rlc_pattern` is never used
[INFO] [stdout]     --> src/cpu_comprehensive_tests.rs:1025:4
[INFO] [stdout]      |
[INFO] [stdout] 1025 | fn test_rlc_pattern(pattern: u8) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_rrc_pattern` is never used
[INFO] [stdout]     --> src/cpu_comprehensive_tests.rs:1040:4
[INFO] [stdout]      |
[INFO] [stdout] 1040 | fn test_rrc_pattern(pattern: u8) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_rl_pattern` is never used
[INFO] [stdout]     --> src/cpu_comprehensive_tests.rs:1055:4
[INFO] [stdout]      |
[INFO] [stdout] 1055 | fn test_rl_pattern(pattern: u8) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_rr_pattern` is never used
[INFO] [stdout]     --> src/cpu_comprehensive_tests.rs:1073:4
[INFO] [stdout]      |
[INFO] [stdout] 1073 | fn test_rr_pattern(pattern: u8) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_sla_pattern` is never used
[INFO] [stdout]     --> src/cpu_comprehensive_tests.rs:1091:4
[INFO] [stdout]      |
[INFO] [stdout] 1091 | fn test_sla_pattern(pattern: u8) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_sra_pattern` is never used
[INFO] [stdout]     --> src/cpu_comprehensive_tests.rs:1106:4
[INFO] [stdout]      |
[INFO] [stdout] 1106 | fn test_sra_pattern(pattern: u8) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_srl_pattern` is never used
[INFO] [stdout]     --> src/cpu_comprehensive_tests.rs:1121:4
[INFO] [stdout]      |
[INFO] [stdout] 1121 | fn test_srl_pattern(pattern: u8) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Gameboy` is never constructed
[INFO] [stdout]  --> src/gameboy.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Gameboy<'a, T>
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `go` is never used
[INFO] [stdout]   --> src/gameboy.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<'a, T: MBC> Gameboy<'a, T> {
[INFO] [stdout]    | ------------------------------- method in this implementation
[INFO] [stdout] 19 |     pub fn go(&mut self, ui_state: Option<UIState>) -> u64 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GpuEvent` is never used
[INFO] [stdout]  --> src/gpu.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum GpuEvent {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/gpu.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct LCDC {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 8  |     lcd_enabled: bool,            // bit 7
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 9  |     window_tile_map_select: bool, // bit 6
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     window_display_toggle: bool,  // bit 5
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     bg_window_tile_select: bool,  // bit 4
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     bg_tile_map_select: bool,     // bit 3
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     sprite_size: bool,            // bit 2
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 14 |     sprite_display: bool,         // bit 1
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     bg_display: bool,             // bit 0
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set` and `get` are never used
[INFO] [stdout]   --> src/gpu.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl LCDC {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 19 |     pub fn set(&mut self, val: u8) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn get(&self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `STAT` is never constructed
[INFO] [stdout]   --> src/gpu.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct STAT {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `oam`, `lcdc`, and `ticks` are never read
[INFO] [stdout]   --> src/gpu.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct VRAM {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 53 |     memory: Box<[u8; 0x2000]>,
[INFO] [stdout] 54 |     oam: Box<[u8; 0xA0]>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 55 |     lcdc: LCDC,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 56 |     ticks: u64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `go` and `subscript` are never used
[INFO] [stdout]   --> src/gpu.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl VRAM {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn go(&mut self, ticks: u64) -> GpuEvent {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn subscript(&mut self, index: usize) -> &mut u8 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_mbc3` is never used
[INFO] [stdout]   --> src/mmu.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<'a, T: MBC> MMU<'a, T> {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn new_with_mbc3(vram: &'a mut VRAM) -> MMU<MBC3> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sp` is never read
[INFO] [stdout]   --> src/registers.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub struct Registers {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub sp: u16,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GamepadRegisters` is never constructed
[INFO] [stdout]  --> src/registers/gamepad_registers.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct GamepadRegisters {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used
[INFO] [stdout]   --> src/registers/gamepad_registers.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl GamepadRegisters {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new(value: u8) -> GamepadRegisters {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn read(self) -> u8 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn write(mut self, value: u8) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_loop` is never used
[INFO] [stdout]  --> src/run_loop.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn run_loop<T: MBC>(mut gameboy: Gameboy<T>, rx: Receiver<UIState>) {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_sprite_address` is never used
[INFO] [stdout]   --> src/sprite.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Sprite {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn write_sprite_address(&mut self, address: usize, value: u8) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]  --> src/utility/ui_state.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct UIState {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 2 |     a: bool,
[INFO] [stdout]   |     ^
[INFO] [stdout] 3 |     b: bool,
[INFO] [stdout]   |     ^
[INFO] [stdout] 4 |     up: bool,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 5 |     right: bool,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 6 |     down: bool,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 7 |     left: bool,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 8 |     start: bool,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 9 |     select: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `has_negative_edge`, and `any_pressed` are never used
[INFO] [stdout]   --> src/utility/ui_state.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl UIState {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 13 |     pub fn new() -> UIState {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn has_negative_edge(from_state: &UIState, to_state: &UIState) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn any_pressed(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vblank_interrupt`, `lcd_interrupt`, `timer_interrupt`, `serial_interrupt`, and `joypad_interrupt` are never read
[INFO] [stdout]   --> src/interrupts.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | pub struct Interrupts {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 3  |     vblank_interrupt: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 4  |     vblank_enabled: bool,
[INFO] [stdout] 5  |     lcd_interrupt: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 6  |     lcd_enabled: bool,
[INFO] [stdout] 7  |     timer_interrupt: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 8  |     timer_enabled: bool,
[INFO] [stdout] 9  |     serial_interrupt: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     serial_enabled: bool,
[INFO] [stdout] 11 |     joypad_interrupt: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mmu.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(vram: &'a mut VRAM, mbc: T) -> MMU<T> {
[INFO] [stdout]    |                       ^^                      ------ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(vram: &'a mut VRAM, mbc: T) -> MMU<'a, T> {
[INFO] [stdout]    |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mmu.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new_with_mbc3(vram: &'a mut VRAM) -> MMU<MBC3> {
[INFO] [stdout]    |                                 ^^              --------- the same lifetime is hidden here
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new_with_mbc3(vram: &'a mut VRAM) -> MMU<'a, MBC3> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interrupt`
[INFO] [stdout]   --> src/cpu.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn request_interrupt(&self, interrupt: Interrupt) {
[INFO] [stdout]    |                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupt`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu.rs:1632:28
[INFO] [stdout]      |
[INFO] [stdout] 1632 |                 fn eval<T>(cpu: &mut CPU<T>)
[INFO] [stdout]      |                            ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] ...
[INFO] [stdout] 2137 |             I!(STOP),
[INFO] [stdout]      |             -------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this warning originates in the macro `I` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu.rs:1818:28
[INFO] [stdout]      |
[INFO] [stdout] 1818 |                 fn eval<T>(cpu: &mut CPU<T>)
[INFO] [stdout]      |                            ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] ...
[INFO] [stdout] 2245 |             I!(HALT),
[INFO] [stdout]      |             -------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this warning originates in the macro `I` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/cpu.rs:2828:13
[INFO] [stdout]      |
[INFO] [stdout] 2828 |         let mut registers = Registers {
[INFO] [stdout]      |             ----^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gpu`
[INFO] [stdout]     --> src/cpu.rs:4698:17
[INFO] [stdout]      |
[INFO] [stdout] 4698 |         let mut gpu = VRAM::new();
[INFO] [stdout]      |                 ^^^ help: if this is intentional, prefix it with an underscore: `_gpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/cpu.rs:4698:13
[INFO] [stdout]      |
[INFO] [stdout] 4698 |         let mut gpu = VRAM::new();
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/mmu.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut sprites: Box<[Sprite; 40]> = Box::new([(); 40].map(|_| Sprite::new()));
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/opcodes.rs:833:13
[INFO] [stdout]     |
[INFO] [stdout] 833 |             _ => Opcode::Invalid, // Catch any other invalid opcodes
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/opcodes.rs:833:13
[INFO] [stdout]     |
[INFO] [stdout] 577 |             0x00 => Opcode::Nop,
[INFO] [stdout]     |             ---- matches some of the same values
[INFO] [stdout] 578 |             0x01 => Opcode::LdBCNN,
[INFO] [stdout]     |             ---- matches some of the same values
[INFO] [stdout] 579 |             0x02 => Opcode::LdBCPtrA,
[INFO] [stdout]     |             ---- matches some of the same values
[INFO] [stdout] 580 |             0x03 => Opcode::IncBC,
[INFO] [stdout]     |             ---- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 833 |             _ => Opcode::Invalid, // Catch any other invalid opcodes
[INFO] [stdout]     |             ^ ...and 252 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer_offset`
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut buffer_offset = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let cpu = CPU::new(&mut mmu);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/main.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let (tx, rx) = mpsc::channel::<UIState>();
[INFO] [stdout]    |          ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rx`
[INFO] [stdout]   --> src/main.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let (tx, rx) = mpsc::channel::<UIState>();
[INFO] [stdout]    |              ^^ help: if this is intentional, prefix it with an underscore: `_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut buffer_offset = 0;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Catridge` is never constructed
[INFO] [stdout]  --> src/cartridge.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Catridge<T: MBC> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/cartridge.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl<T: MBC> Catridge<T> {
[INFO] [stdout]   | ------------------------ associated function in this implementation
[INFO] [stdout] 6 |     pub fn new(mbc: T) -> Catridge<T> {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MBC0` is never constructed
[INFO] [stdout]   --> src/cartridge.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct MBC0 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MBC1` is never constructed
[INFO] [stdout]   --> src/cartridge.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct MBC1 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Interrupt` is never used
[INFO] [stdout]  --> src/cpu.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum Interrupt {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `interrupts` is never read
[INFO] [stdout]   --> src/cpu.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct CPU<'a, T>
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     interrupts: Interrupts,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `exec_next_instruction`, `request_interrupt`, `push_pc`, and `execute_extended` are never used
[INFO] [stdout]     --> src/cpu.rs:59:12
[INFO] [stdout]      |
[INFO] [stdout] 41   | impl<'a, T: MBC> CPU<'a, T> {
[INFO] [stdout]      | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59   |     pub fn exec_next_instruction(&mut self) -> u64 {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67   |     pub fn request_interrupt(&self, interrupt: Interrupt) {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80   |     fn push_pc(&mut self) {
[INFO] [stdout]      |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2414 |     pub fn execute_extended(&mut self, opcode: ExtendedOpcode) {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Gameboy` is never constructed
[INFO] [stdout]  --> src/gameboy.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Gameboy<'a, T>
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `go` is never used
[INFO] [stdout]   --> src/gameboy.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<'a, T: MBC> Gameboy<'a, T> {
[INFO] [stdout]    | ------------------------------- method in this implementation
[INFO] [stdout] 19 |     pub fn go(&mut self, ui_state: Option<UIState>) -> u64 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GpuEvent` is never used
[INFO] [stdout]  --> src/gpu.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum GpuEvent {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/gpu.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct LCDC {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 8  |     lcd_enabled: bool,            // bit 7
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 9  |     window_tile_map_select: bool, // bit 6
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     window_display_toggle: bool,  // bit 5
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     bg_window_tile_select: bool,  // bit 4
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     bg_tile_map_select: bool,     // bit 3
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     sprite_size: bool,            // bit 2
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 14 |     sprite_display: bool,         // bit 1
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     bg_display: bool,             // bit 0
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set` and `get` are never used
[INFO] [stdout]   --> src/gpu.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl LCDC {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 19 |     pub fn set(&mut self, val: u8) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn get(&self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `STAT` is never constructed
[INFO] [stdout]   --> src/gpu.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct STAT {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `oam`, `lcdc`, and `ticks` are never read
[INFO] [stdout]   --> src/gpu.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct VRAM {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 53 |     memory: Box<[u8; 0x2000]>,
[INFO] [stdout] 54 |     oam: Box<[u8; 0xA0]>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 55 |     lcdc: LCDC,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 56 |     ticks: u64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `go` and `subscript` are never used
[INFO] [stdout]   --> src/gpu.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl VRAM {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn go(&mut self, ticks: u64) -> GpuEvent {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn subscript(&mut self, index: usize) -> &mut u8 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sp` is never read
[INFO] [stdout]   --> src/registers.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub struct Registers {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub sp: u16,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GamepadRegisters` is never constructed
[INFO] [stdout]  --> src/registers/gamepad_registers.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct GamepadRegisters {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used
[INFO] [stdout]   --> src/registers/gamepad_registers.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl GamepadRegisters {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 15 |     fn new(value: u8) -> GamepadRegisters {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn read(self) -> u8 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn write(mut self, value: u8) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_loop` is never used
[INFO] [stdout]  --> src/run_loop.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn run_loop<T: MBC>(mut gameboy: Gameboy<T>, rx: Receiver<UIState>) {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_sprite_address` is never used
[INFO] [stdout]   --> src/sprite.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Sprite {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn write_sprite_address(&mut self, address: usize, value: u8) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `any_pressed` is never used
[INFO] [stdout]   --> src/utility/ui_state.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl UIState {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn any_pressed(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vblank_interrupt`, `lcd_interrupt`, `timer_interrupt`, `serial_interrupt`, and `joypad_interrupt` are never read
[INFO] [stdout]   --> src/interrupts.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | pub struct Interrupts {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 3  |     vblank_interrupt: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 4  |     vblank_enabled: bool,
[INFO] [stdout] 5  |     lcd_interrupt: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 6  |     lcd_enabled: bool,
[INFO] [stdout] 7  |     timer_interrupt: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 8  |     timer_enabled: bool,
[INFO] [stdout] 9  |     serial_interrupt: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     serial_enabled: bool,
[INFO] [stdout] 11 |     joypad_interrupt: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mmu.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(vram: &'a mut VRAM, mbc: T) -> MMU<T> {
[INFO] [stdout]    |                       ^^                      ------ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(vram: &'a mut VRAM, mbc: T) -> MMU<'a, T> {
[INFO] [stdout]    |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mmu.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new_with_mbc3(vram: &'a mut VRAM) -> MMU<MBC3> {
[INFO] [stdout]    |                                 ^^              --------- the same lifetime is hidden here
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn new_with_mbc3(vram: &'a mut VRAM) -> MMU<'a, MBC3> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "c9fd893012bbc342c2c847d8be45e250e5c3ec43396250c29ea845d312e6280a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9fd893012bbc342c2c847d8be45e250e5c3ec43396250c29ea845d312e6280a", kill_on_drop: false }`
[INFO] [stdout] c9fd893012bbc342c2c847d8be45e250e5c3ec43396250c29ea845d312e6280a
